/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.inventory.controllers;

import javax.ejb.Remote;

/**
 *
 * @author sithum
 */
@Remote
public interface CustomerControllerRemote {

    public void create(java.util.List<com.inventory.entities.Customer> customerList, java.util.List<com.inventory.entities.CustomerDetails> customerDetailsList);

    public void edit(java.util.List<com.inventory.entities.Customer> customerList, java.util.List<com.inventory.entities.CustomerDetails> customerDetailsList);

    public void delete(java.util.List<com.inventory.entities.Customer> customerList);

    public com.inventory.entities.Customer findByCustomerName(java.lang.String customerName);

    public java.util.List<com.inventory.entities.Customer> findAll();

    public int count();

    public com.inventory.entities.Customer findByCustomerId(com.inventory.entities.Customer customer);
    
}
